import { constantRoutes } from '@/router'
export default {
  namespaced: true,
  state: {
    menusList: [...constantRoutes]
  },
  mutations: {
    updateMenus(state, arr) {
      state.menusList = [...constantRoutes, ...arr]
    }
  }
}
